<th:block th:fragment="footer" xmlns:th="http://www.thymeleaf.org" >
  <div class="fly-footer">
    <p>
      <a href="http://www.rimionline.com/" target="_blank">RIMI社区</a>
      2019 &copy;
      <a href="http://www.rimionline.com/" target="_blank">rimionline.com 出品</a>
    </p>
    <p>
      <a href="/jie/detail/1" target="_blank">微信公众号</a>

    </p>
  </div>

  <script type="text/javascript" th:inline="javascript" src="/layui/layui.js"></script>
  <script  th:inline="javascript">

    layui.cache.page = [[${page} ]];
    layui.cache.count= [[${count}]];
    layui.cache.curr=  [[${curr} ]]
    layui.cache.user = [[${#authentication!=null?#authentication.principal:'anonymousUser' }]];

    layui.config({
      version: "3.0.0"
      ,base: '/mods/'
    }).extend({
      fly: 'index'
    }).use(['fly','face'], function(){
      var $ = layui.$,fly = layui.fly;
      //如果你是采用模版自带的编辑器，你需要开启以下语句来解析。
      $('.detail-body').each(function(){
        var othis = $(this), html = othis.html();
        othis.html(fly.content(html));
      });

      $('.home-dacontent').each(function(){
        var othis = $(this), html = othis.html();
        othis.html(fly.content(html));
      });
    });



  </script>
</th:block>
